home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Files
/
Directories
/
FileID.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
386b
|
27 lines
// FileID.h
#ifndef FileID_h
#define FileID_h
#ifndef Integers_h
#include "Integers.h"
#endif
class FileID
{
private:
int32 id;
public:
explicit FileID( int32 value )
: id( value )
{}
int32 ID() const { return id; }
bool operator==( FileID f ) const { return id == f.id; }
bool operator!=( FileID f ) const { return id != f.id; }
};
#endif